package co.msk8.client.rpc;

import co.msk8.client.command.Action;
import co.msk8.client.command.Result;

import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;

@RemoteServiceRelativePath("calcService")
public interface CalculatorService extends RemoteService {

	<T extends Result> T execute(Action<T> action) throws Exception;
}
